package one.stand.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Administrator
 */
@Data
@ApiModel(value = "登陆返回信息")
public class LoginResponse implements Serializable {
    @ApiModelProperty("登陆标识")
    private String token;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户姓名")
    private String userName;

    @ApiModelProperty("头像地址")
    private String avatarUrl;

    @ApiModelProperty("是否是boss")
    private Integer roleId;

    @ApiModelProperty("oss路径")
    private String ossUrl;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("名片ID")
    private Integer cardId;

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("0普通公司 1代理商")
    private Integer isAgent;
}
